﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Class_member
{
    class Program
    {
        //非静态调用
        static void Main(string[] args)
        {
            Bookmark bookmark = new Bookmark();
            //为属性赋值
            bookmark.SEeBook(156, "高数", 789);
            bookmark.PrintSg();
            Console.WriteLine() ;
          //  book.Id = 23;
           // book.Name = "大学英语";
           // book.Price = 199;
            //静态调用
            Book.SetBook(23, "大学英语", 199);
           Book.PrintMsg();
            
        }
    }
}
